package util;

/**
 * Created by fenglixiong on 2017/10/2.
 */
public class WsConstant {

    public static final String HEADER_CHAT_ROOMID = "chat_room_id";

    public static final String WEBSOCKET_SESSION_KEY = "WEBSOCKET_SESSION_KEY";
    public static final String SESSION_HEADER_ID = "X-NOODLE-SESSIONID";
    public static final String SESSION_COOKIE_KEY = "X-NOODLE-COOKIE";

    public static final String CHAT_TYPE_TXT = "TXT";
    public static final String CHAT_TYPE_PICTURE = "PICTURE";
    public static final String CHAT_TYPE_VOICE = "VOICE";
    public static final String CHAT_TYPE_VIDEO = "VIDEO";
    public static final String CHAT_TYPE_SYSTEM = "SYSTEM";

    public static final String MSG_COMMAND_ONLINEREFLASH = "ONLINEREFLASH";
    public static final String MSG_COMMAND_CHATREFLASH = "CHATREFLASH";
    public static final String MSG_COMMAND_ROOMREFLASH = "ROOMREFLASH";

    public static final String MSG_ACTION_REVOKE = "REVOKE";

    public static final String USER_LAST_VISIT_TIME = "last_visit_time";
}
